/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe4f0 50%, #ffd9e8 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow-x: hidden;
}

/* ===== 블러 배경 이미지 (z-index: -2) ===== */
.background-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://images.unsplash.com/photo-1522383225653-ed111181a951?w=1920&q=80");
    background-size: cover;
    background-position: center;
    filter: blur(1.5px);
    z-index: -2;
}

/* ===== 벚꽃 배경 (z-index: -1) ===== */
.cherry-blossom-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 182, 193, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(255, 192, 203, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 218, 224, 0.1) 0%, transparent 60%);
    z-index: -1;
}

/* ===== 휘날리는 벚꽃 (z-index: 1) ===== */
.falling-petals {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ffb6c1 0%, #ffc0cb 50%, #ffb6c1 100%);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    animation: fall linear infinite;
}

/* 각 벚꽃의 위치와 애니메이션 시간을 다르게 설정 */
.petal:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.petal:nth-child(2) {
    left: 25%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.petal:nth-child(3) {
    left: 40%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.petal:nth-child(4) {
    left: 55%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.petal:nth-child(5) {
    left: 70%;
    animation-duration: 11s;
    animation-delay: 4s;
}

.petal:nth-child(6) {
    left: 85%;
    animation-duration: 10s;
    animation-delay: 5s;
}

.petal:nth-child(7) {
    left: 20%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.petal:nth-child(8) {
    left: 60%;
    animation-duration: 9.5s;
    animation-delay: 1.5s;
}

.petal:nth-child(9) {
    left: 33%;
    animation-duration: 11.5s;
    animation-delay: 0.5s;
}

.petal:nth-child(10) {
    left: 75%;
    animation-duration: 10.5s;
    animation-delay: 3.5s;
}

.petal:nth-child(11) {
    left: 5%;
    animation-duration: 12.5s;
    animation-delay: 1.8s;
}

.petal:nth-child(12) {
    left: 90%;
    animation-duration: 9.8s;
    animation-delay: 4.2s;
}

.petal:nth-child(13) {
    left: 45%;
    animation-duration: 10.8s;
    animation-delay: 2.2s;
}

.petal:nth-child(14) {
    left: 18%;
    animation-duration: 11.2s;
    animation-delay: 3.8s;
}

.petal:nth-child(15) {
    left: 65%;
    animation-duration: 13s;
    animation-delay: 0.8s;
}

.petal:nth-child(16) {
    left: 12%;
    animation-duration: 10.2s;
    animation-delay: 2.8s;
}

.petal:nth-child(17) {
    left: 48%;
    animation-duration: 11.8s;
    animation-delay: 1.2s;
}

.petal:nth-child(18) {
    left: 78%;
    animation-duration: 9.2s;
    animation-delay: 4.5s;
}

.petal:nth-child(19) {
    left: 30%;
    animation-duration: 12.2s;
    animation-delay: 3.2s;
}

.petal:nth-child(20) {
    left: 92%;
    animation-duration: 10.8s;
    animation-delay: 0.3s;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(20px) rotate(90deg);
    }

    50% {
        transform: translateX(-20px) rotate(180deg);
    }

    75% {
        transform: translateX(20px) rotate(270deg);
    }

    100% {
        top: 110%;
        transform: translateX(0) rotate(360deg);
    }
}

/* ===== Navigation Bar (z-index: 100) ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffe4f0;
    box-shadow: 0 2px 15px rgba(255, 105, 180, 0.1);
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff69b4;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s ease;
    padding: 5px 10px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff69b4;
}

/* ===== 메인 컨테이너 (z-index: 2) ===== */
.container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    max-width: 900px;
    width: 100%;
    padding: 60px 50px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.15);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 헤더 섹션 ===== */
.header-section {
    margin-bottom: 50px;
}

.genre-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff69b4;
    letter-spacing: 0.05em;
}

.genre-desc {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.2;
    white-space: pre-line;
}

/* ===== 아티스트 리스트 (2열 그리드) ===== */
.artist-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ===== 아티스트 카드 (박스 형태) ===== */
.artist-card {
    background: #ffffff;
    border: 1px solid #ffe4f0;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.08);
    text-decoration: none;
    cursor: pointer;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    border-color: #ffb6c1;
}

/* 아티스트 이미지 */
.artist-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffe4f0;
    transition: transform 0.3s ease;
}

.artist-card:hover .artist-img {
    transform: scale(1.05);
    border-color: #ff69b4;
}

/* 아티스트 정보 */
.artist-info {
    text-align: center;
    width: 100%;
}

.artist-name {
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.artist-card:hover .artist-name {
    color: #ff69b4;
}


/* ===== 반응형 디자인 ===== */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    body {
        padding: 140px 20px 40px;
    }

    .container {
        padding: 40px 30px;
    }

    .genre-title {
        font-size: 2.5rem;
    }

    .artist-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .artist-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }

    .genre-title {
        font-size: 2rem;
    }

    .genre-desc {
        font-size: 0.95rem;
    }

    .container {
        padding: 30px 20px;
    }
}